package com.du.stutestsys.dao;

import com.du.stutestsys.entity.Grade;
import com.du.stutestsys.util.PageUtil;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GradeMapper {
    Integer addGrade(Grade grade);
    Integer addGradeSubject(@Param("grade_id") Long grade_id,@Param("subject_ids") String[] subject_id);
    Integer updateGrade(Grade grade);
    List<Grade> selectGrade(Grade grade,@Param("pageUtil") PageUtil pageUtil );
}
